export default {
	state:{
		list:[],
	},
	getters:{
		// 获取默认地址
		defaultPath:(state)=>{
			// if(JSON.stringify(state) == "{}") return state;
			console.log('state.list',state.list)
			return state.list.filter(v=> v.defaults == '1')
		}
	},
	mutations:{
		// 储存地址
		getList(state,data){
			console.log('mutationsdata',data)
			state.list = data;
		},
		
	}
}